package com.qfedu.dao;

import com.qfedu.entity.User;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface UserDao {
    int add(User user);
    int delete(int id);
    int update(User user);

    List<User> selectByWhere(@Param("name") String name,@Param("phone")  String phone);

    User selectOne(String name);
}
